From: Stefan Monnier Date: Thu, 16 Jan 2003 19:46:00 +0000 (+0000) Subject: (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~53713 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f064f7c929f9790f7f7180f824a8810e3f9c4bbc;p=emacs.git (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. --- diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index f5712cc0bb1..111cc10ab35 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -641,7 +641,7 @@ space does not end a sentence, so don't break a line there." (forward-line 1))) (if use-hard-newlines - (remove-text-properties from (point-max) '(hard nil))) + (remove-list-of-text-properties from to '(hard))) ;; Make sure first line is indented (at least) to left margin... (if (or (memq justify '(right center)) (< (current-indentation) (current-left-margin)))